using System.Linq.Expressions;
using DictToObject.FieldExpectations;

namespace DictToObject.Factories
{
    public interface IFieldExpectationFactory
    {
        IRequiredFieldExpectation GetRequiredFieldExpectation(string key, MemberExpression memberExpression);

        IOptionalFieldExpectation GetOptionalFieldExpectation(string key, MemberExpression memberExpression,
                                                              object defaultValue);
    }
}